package pojo;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class UserInfoRegisterRequest {
    @NotBlank(message = "用户名不能为空")
    @Length(max = 20,message = "用户名长度不能超过20")
    private String userName;
    @NotBlank(message = "密码不能为空")
    @Length(max = 20,message = "密码哦长度不能超过20")
    private String password;
    @NotBlank(message = "gitee地址不能为空")
    private String giteeUrl;
    @NotBlank(message = "邮箱不能为空")
    private String email;
}
